package main

import "time"

func main() {
	for i := 0; i < 10; i++ {
		go Add(i, i)
	}

	time.Sleep(1000 * time.Millisecond)
	//runtime.Gosched()
	println("sum函数执行完成")
}

func Add(x, y int) {
	sum := x + y
	println("sum->", sum)
}
